package com.nttuan.model.dao.service;

import com.nttuan.model.entity.Contact;

import java.util.List;

/**
 * Created by NT Tuan on 10/24/2014.
 */
public interface ContactService {
    public boolean checkLeader(int taskId, int userId);
    public boolean attend(int taskId,int userId, boolean attend);
    public boolean create(Contact contact);
    public boolean update(Contact contact);
    public boolean remove(int contactId);
    public boolean join(int contactId, boolean attend);
    public boolean active(int contactId, boolean isActive);
    public List<Contact> contactsByTask(int taskId);
}
